package com.cd.javacxy.module.web.service;

import com.cd.javacxy.common.model.entity.CxyUserFriend;
import com.cd.javacxy.common.model.query.UserFriendQuery;
import com.cd.javacxy.common.utils.PageResult;
import com.cd.javacxy.exception.BussinessException;

/**
 * CxyUserFriend的服务接口
 *
 * @author yanghy
 */
public interface CxyUserFriendService {

    int findFocusType4UserHome(UserFriendQuery userFriendQuery);

    int findCount(UserFriendQuery userFriendQuery);

    PageResult<CxyUserFriend> findFriendList(UserFriendQuery userFriendQuery);

    PageResult<CxyUserFriend> findFansList(UserFriendQuery userFriendQuery);

    int addFocus(CxyUserFriend userFriend) throws BussinessException;

    int cancelFocus(CxyUserFriend userFriend)throws BussinessException;

}
